<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
  <title>添加实验室</title>
  <link rel="stylesheet" href="${pageContext.request.contextPath}/css/style.css">
</head>
<body>
<%@ include file="../header.jsp" %>
<div class="container">
  <h2>添加实验室</h2>
  <form action="${pageContext.request.contextPath}/labs?action=add" method="post">
    <div class="form-group">
      <label for="labName">实验室名称:</label>
      <input type="text" id="labName" name="labName" required>
    </div>
    <div class="form-group">
      <label for="location">位置:</label>
      <input type="text" id="location" name="location" required>
    </div>
    <div class="form-group">
      <label for="capacity">容量:</label>
      <input type="number" id="capacity" name="capacity" required>
    </div>
    <div class="form-group">
      <label for="equipment">设备:</label>
      <input type="text" id="equipment" name="equipment" required>
    </div>
    <div class="form-group">
      <label for="availableTime">可用时间:</label>
      <input type="text" id="availableTime" name="availableTime" required>
    </div>
    <div class="form-group">
      <label for="description">描述:</label>
      <textarea id="description" name="description" rows="4"></textarea>
    </div>
    <div class="form-group">
      <button type="submit">添加</button>
    </div>
  </form>
</div>
</body>
</html>